package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.*;
import cn.com.lsy.product.lepao.model.mt.entities.CityListDto;
import cn.com.lsy.product.lepao.model.mt.entities.GetsStoreAlbumDto;
import cn.com.lsy.product.lepao.model.mt.entities.StoreIconListDto;

import java.util.List;

public interface IStoreService {

    List<CityListDto> selectCityListByPage(int start, int end, int parentId, String searchCondition);

    int selectCityListByCount(int parentId, String searchCondition);

    boolean updateArea(LpAreaTbl param);

    List<LpStoreTbl> selectByPage(int start, int end, String searchCondition, List<Integer> storeId);

    int selectByCount(String searchCondition, List<Integer> storeId);

    LpStoreTbl selectInfo(int id);

    boolean updateStore(LpStoreTbl param);

    boolean addStore(LpStoreTbl param);

    List<GetsStoreAlbumDto> selectStorePhoto(int id);

    boolean updateStorePhoto(LpStorePhotoTbl param);

    boolean insertStorePhoto(int sort, int storeId, String url);

    boolean delStorePhoto(int id, int photoId);

    List<LpAreaTbl> selectAreaList(int leve);

    boolean delStoreOnLine(int storeId);

    List<StoreIconListDto> selectStoreIconList(int storeId);

    boolean updateStoreIcon(LpStoreIconTbl param);

    boolean delStoreIcon(int id);

    boolean addStoreIcon(LpStoreIconTbl param);

    List<LpStoreIconTbl> selectStoreIcon(int storeId, int iconId);

    long countStoreIcon(int storeId);

    List<LpIconTbl> selectIconList();

    List<LpStoreTbl> selectList();

    List<LpStoresOnlineTbl> selectStoresOnlineList(int storeId);

}
